<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IgH EtherCAT Master: fmmu_config.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IgH EtherCAT Master
   &#160;<span id="projectnumber">1.5.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('fmmu__config_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">fmmu_config.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>EtherCAT FMMU configuration methods.  
<a href="#details">More...</a></p>

<p><a href="fmmu__config_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:abb64d16f6f17f6bd506fafefedad65ff"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fmmu__config_8c.html#abb64d16f6f17f6bd506fafefedad65ff">ec_fmmu_config_init</a> (<a class="el" href="structec__fmmu__config__t.html">ec_fmmu_config_t</a> *fmmu, <a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, <a class="el" href="group__ApplicationInterface.html#ga80023c0c77cb39ae1cd70c9d8e5269fc">ec_domain_t</a> *domain, uint8_t sync_index, <a class="el" href="group__ApplicationInterface.html#ga703c4e47384b3601e7605d6d910aaba1">ec_direction_t</a> dir)</td></tr>
<tr class="memdesc:abb64d16f6f17f6bd506fafefedad65ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">FMMU configuration constructor.  <a href="#abb64d16f6f17f6bd506fafefedad65ff">More...</a><br /></td></tr>
<tr class="separator:abb64d16f6f17f6bd506fafefedad65ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a948cbd8f8d914b43dcc2a97c99507dab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fmmu__config_8c.html#a948cbd8f8d914b43dcc2a97c99507dab">ec_fmmu_config_page</a> (const <a class="el" href="structec__fmmu__config__t.html">ec_fmmu_config_t</a> *fmmu, const <a class="el" href="structec__sync__t.html">ec_sync_t</a> *sync, uint8_t *data)</td></tr>
<tr class="memdesc:a948cbd8f8d914b43dcc2a97c99507dab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes an FMMU configuration page.  <a href="#a948cbd8f8d914b43dcc2a97c99507dab">More...</a><br /></td></tr>
<tr class="separator:a948cbd8f8d914b43dcc2a97c99507dab"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>EtherCAT FMMU configuration methods. </p>

<p class="definition">Definition in file <a class="el" href="fmmu__config_8c_source.html">fmmu_config.c</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="abb64d16f6f17f6bd506fafefedad65ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb64d16f6f17f6bd506fafefedad65ff">&#9670;&nbsp;</a></span>ec_fmmu_config_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fmmu_config_init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structec__fmmu__config__t.html">ec_fmmu_config_t</a> *&#160;</td>
          <td class="paramname"><em>fmmu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *&#160;</td>
          <td class="paramname"><em>sc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga80023c0c77cb39ae1cd70c9d8e5269fc">ec_domain_t</a> *&#160;</td>
          <td class="paramname"><em>domain</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>sync_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga703c4e47384b3601e7605d6d910aaba1">ec_direction_t</a>&#160;</td>
          <td class="paramname"><em>dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>FMMU configuration constructor. </p>
<p>Inits an FMMU configuration, sets the logical start address and adds the process data size for the mapped PDOs of the given direction to the domain data size. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fmmu</td><td>EtherCAT FMMU configuration. </td></tr>
    <tr><td class="paramname">sc</td><td>EtherCAT slave configuration. </td></tr>
    <tr><td class="paramname">domain</td><td>EtherCAT domain. </td></tr>
    <tr><td class="paramname">sync_index</td><td>Sync manager index to use. </td></tr>
    <tr><td class="paramname">dir</td><td>PDO direction. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fmmu__config_8c_source.html#l00050">50</a> of file <a class="el" href="fmmu__config_8c_source.html">fmmu_config.c</a>.</p>

</div>
</div>
<a id="a948cbd8f8d914b43dcc2a97c99507dab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a948cbd8f8d914b43dcc2a97c99507dab">&#9670;&nbsp;</a></span>ec_fmmu_config_page()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fmmu_config_page </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structec__fmmu__config__t.html">ec_fmmu_config_t</a> *&#160;</td>
          <td class="paramname"><em>fmmu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structec__sync__t.html">ec_sync_t</a> *&#160;</td>
          <td class="paramname"><em>sync</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initializes an FMMU configuration page. </p>
<p>The referenced memory (<em>data</em>) must be at least EC_FMMU_PAGE_SIZE bytes. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fmmu</td><td>EtherCAT FMMU configuration. </td></tr>
    <tr><td class="paramname">sync</td><td>Sync manager. </td></tr>
    <tr><td class="paramname">data</td><td><blockquote class="doxtable">
<p>Configuration page memory. </p>
</blockquote>
</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fmmu__config_8c_source.html#l00076">76</a> of file <a class="el" href="fmmu__config_8c_source.html">fmmu_config.c</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_c1346cf4828efdd0d2baf0d391d01b77.html">master</a></li><li class="navelem"><a class="el" href="fmmu__config_8c.html">fmmu_config.c</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
